package dongshi.daddy.service;

public class MyProviderStubServiceStub implements MyProviderStubService {
    private MyProviderStubService myProviderStubService;

    public MyProviderStubServiceStub(MyProviderStubService myProviderStubService) {
        this.myProviderStubService = myProviderStubService;
    }

    @Override
    public String sayHi(String word) {
        if ("222".equals(word)) return "stub service provider: " + word;
        return myProviderStubService.sayHi(word);
    }
}
